add_library(module1 STATIC 
    src/module1.cpp  
    include/module1.hpp  
)
target_include_directories(module1 PUBLIC 
    ${CMAKE_CURRENT_SOURCE_DIR}/include 
)
# 声明依赖项（假设依赖driver1）
target_link_libraries(module1 PUBLIC 
    driver1
)